package logic;

import java.awt.Point;
import java.awt.Rectangle;

import main.GameDef;

public class Block implements GameDef{
/*
 * Atributes
 */	
	public int id;
	public int status;
	public int parentId;
	public Rectangle area;
	public final static int HEALTHY = 0;
	public final static int DAMAGED = HEALTHY + 1;

/*
 * Constructors
 */
	public Block(Point position){
		status = HEALTHY;
		area = new Rectangle(position.x, position.y, BLOCK_WIDTH, BLOCK_HEIGHT);
	}
}

